﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.OperationVMs
{
    public partial class OperationBatchVM : BaseBatchVM<Operation, Operation_BatchEdit>
    {
        public OperationBatchVM()
        {
            ListVM = new OperationListVM();
            LinkedVM = new Operation_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Operation_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Operation._LineCode")]
        public string LineCodeId { get; set; }
        [Display(Name = "_Model._Operation._OperationName")]
        public string OperationName { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}